package com.zixi.ai.workflow.service;

import com.alibaba.fastjson2.JSONObject;
import com.zixi.ai.framework.service.BaseService;
import com.zixi.ai.workflow.entity.AiWorkflowEntity;

import java.util.Map;

/**
 * @author wfg
 */
public interface IAiWorkflowService extends BaseService<AiWorkflowEntity, Long> {
    /**
     * 尝试运行工作流
     */
    Map<String, Object> tryRunning(Long id, JSONObject variables);
}
